package com.shan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@Controller("mainController")
@RequestMapping("/main")
public class MainController {
    @RequestMapping(value = "/login", method = RequestMethod.POST)
    public String userLogin() {
        return "success";
    }
}
